package com.sinosoft.ebusiness.docment;

import com.bugull.mongo.SimpleEntity;
import com.bugull.mongo.annotations.*;

import java.util.Date;

@Entity
@EnsureIndex("{startTime:1, endTime:1,logTime:-1,createTime:1},{cooperateCode:1,transNo:1,resultCode:1,createTime:1}")
public class NspInterLog extends SimpleEntity{

	private String cooperateCode;

	private String transNo;

	private Date startTime;

	private Date endTime;

	private String responseDate;

	private String resultCode;

	private String resultInfo;

	private String vin;

	private String licensePlateNo;

	private String orderNo;

	private Date logTime;

	//日志创建时间 精确到天
	private String createTime;

	private String serialNum;

	private String reqMsgId;//蚂蚁乐驾请求id

	private String deptCode;//地区代码


	public String getCooperateCode() {
		return cooperateCode;
	}

	public void setCooperateCode(String cooperateCode) {
		this.cooperateCode = cooperateCode;
	}

	public String getTransNo() {
		return transNo;
	}

	public void setTransNo(String transNo) {
		this.transNo = transNo;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getResponseDate() {
		return responseDate;
	}

	public void setResponseDate(String responseDate) {
		this.responseDate = responseDate;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getResultInfo() {
		return resultInfo;
	}

	public void setResultInfo(String resultInfo) {
		this.resultInfo = resultInfo;
	}

	public String getVin() {
		return vin;
	}

	public void setVin(String vin) {
		this.vin = vin;
	}

	public String getLicensePlateNo() {
		return licensePlateNo;
	}

	public void setLicensePlateNo(String licensePlateNo) {
		this.licensePlateNo = licensePlateNo;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Date getLogTime() {
		return logTime;
	}

	public void setLogTime(Date logTime) {
		this.logTime = logTime;
	}

	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}

	public String getReqMsgId() {
		return reqMsgId;
	}

	public void setReqMsgId(String reqMsgId) {
		this.reqMsgId = reqMsgId;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
}
